package com.yc.dept.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yc.base.BaseService;
import com.yc.dept.entity.Dept;

import java.util.List;
/**
 * <p>
 * 后台部门表 服务类
 * </p>
 *
 * @author bao
 * @since 2021-12-09
 */
public interface IDeptService extends BaseService<Dept> {

    boolean create(Dept dept);

    boolean delete(List<Long> ids);

    boolean update(Dept dept);

    Dept queryById(Long id);

    List<Dept> selectList();

    IPage<Dept> selectPage(IPage<Dept> page);

}
